package com.zhiyu.mapper;

import com.zhiyu.common.BaseMapper;
import com.zhiyu.pojo.FlowerWood;
import com.zhiyu.pojo.Products;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductsMapper extends BaseMapper<Products> {

    //根据花材搜索商品
    List<Products> selectProductsByFlowerWood(int woodId);

    //根据商品名称搜索商品
    List<Products> selectProductByName(String proName);
}